package cn.iocoder.yudao.module.measure.controller.admin.point.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 测量点信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MeasurePointInfoRespVO {

    @Schema(description = "数据id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23037")
    @ExcelProperty("数据id")
    private Long id;

    @Schema(description = "数据创建时间")
    @ExcelProperty("数据创建时间")
    private LocalDateTime createTime;


    @Schema(description = "关联设备树id", example = "20395")
    @ExcelProperty("关联设备树id")
    private Long deviceTreeId;

    @Schema(description = "监测点名称", example = "王五")
    @ExcelProperty("监测点名称")
    private String measurePointName;

    @Schema(description = "监测点编号")
    @ExcelProperty("监测点编号")
    private String measurePointNo;

    @Schema(description = "dtuId", example = "14416")
    @ExcelProperty("dtuId")
    private Long dtuInfoId;

    @Schema(description = "检测表协议", example = "19452")
    @ExcelProperty("检测表协议")
    private Long protocolId;

    @Schema(description = "CT变比")
    @ExcelProperty("CT变比")
    private BigDecimal ctRate;

    @Schema(description = "PT变比")
    @ExcelProperty("PT变比")
    private BigDecimal ptRate;

    @Schema(description = "监测表号")
    @ExcelProperty("监测表号")
    private String measureMeterNo;

    @Schema(description = "监测表容量")
    @ExcelProperty("监测表容量")
    private String measureMeterContant;

    @Schema(description = "安装日期")
    @ExcelProperty("安装日期")
    private LocalDate installDate;

    @Schema(description = "接线方式")
    @ExcelProperty("接线方式")
    private String connectWay;

    @Schema(description = "电压", example = "2")
    @ExcelProperty("电压")
    private String voltageType;

    @Schema(description = "电流", example = "1")
    @ExcelProperty("电流")
    private String currentType;

    @Schema(description = "设备注册id", example = "30450")
    @ExcelProperty("设备注册id")
    private String regId;

}